home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hpwm525p.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  36.6 KB  |  1,212 lines

  1. *GPDSpecVersion: "1.0"
  2.  
  3. *%*********************************************************************
  4. *%      Standard GPD files to include.  Windows Provides
  5. *%*********************************************************************
  6. *Include: "StdNames.gpd"
  7. *Include: "hpwmacro.gpd"
  8.  
  9. *%*********************************************************************
  10. *%        HP 2500C Series PCL5Ce UI Constraint definitions
  11. *%*********************************************************************
  12. *BlockMacro: PaperInputBinConstraints
  13. {
  14.     *Constraints: InputBin.TRAY2
  15.     *Constraints: InputBin.TRAY3
  16.  
  17. }
  18.  
  19. *%*********************************************************************
  20. *%      Specific to HP 2500C Series PCL5Ce 
  21. *%*********************************************************************
  22. *Include: "ttfsub.gpd"
  23.  
  24. *%*********************************************************************
  25. *%      GPD File Name and version number
  26. *%*********************************************************************
  27. *GPDFileName: "hpwm525P.gpd"
  28. *GPDFileVersion: "1.0"
  29.  
  30. *%*********************************************************************
  31. *%      Help File
  32. *%*********************************************************************
  33.  
  34. *%*********************************************************************
  35. *%      The Model name must match the name in the SETUP.INF file.
  36. *%*********************************************************************
  37. *ModelName: "HP 2500C Series PCL5Ce"
  38.  
  39. *%*********************************************************************
  40. *%      Page Order
  41. *%      According to the unidriver definition, the Unidriver prints
  42. *%      Front to Back by putting page 1 on top of the Stack  & Similarly 
  43. *%      for Back to Front by putting last page on the top.
  44. *%      This is different from the LaserJets since they use a  
  45. *%      mechanism different from Inkjets for Printed output.
  46. *%*********************************************************************
  47. *OutputOrderReversed?: TRUE
  48.  
  49. *%*********************************************************************
  50. *%      The Unidriver uses 1200 dpi as the Master Units.
  51. *%*********************************************************************
  52. *MasterUnits: PAIR(1200, 1200)
  53.  
  54. *%*********************************************************************
  55. *%      The resource DLL contains strings, icons, bitmaps, fonts, etc.
  56. *%*********************************************************************
  57. *ResourceDLL: "hpcstr.dll"
  58.  
  59. *Feature: RESDLL
  60. {
  61.     *Option: FontRes
  62.     {
  63.         *Name: "hpcfont.dll"
  64.     }
  65. }
  66.  
  67. *MaxCopies: 999
  68. *PrinterType: PAGE
  69.  
  70. *%*********************************************************************
  71. *%      Print rate metrics
  72. *%*********************************************************************
  73. *PrintRate: 9
  74. *PrintRateUnit: PPM
  75. *PrintRatePPM: 9
  76.  
  77. *%*********************************************************************
  78. *%      Number of font cartridges the printer supports.
  79. *%      This is optional since if it is omitted the parser assumes there
  80. *%      are none.
  81. *%*********************************************************************
  82. *FontCartSlots: 0
  83.  
  84. *%*********************************************************************
  85. *%      These names are used as the option names for each installable
  86. *%      feature that the parser synthesizes.
  87. *%*********************************************************************
  88. *rcInstalledOptionNameID: =INSTALLED_OPTION
  89. *rcNotInstalledOptionNameID: =NOTINSTALLED_OPTION
  90.  
  91. *%*********************************************************************
  92. *%      Orientation of Paper.
  93. *%*********************************************************************
  94. *Feature: Orientation
  95. {
  96.     *rcNameID: =ORIENTATION_DISPLAY
  97.     *DefaultOption: PORTRAIT
  98.     *Option: PORTRAIT
  99.     {
  100.         *rcNameID: =PORTRAIT_DISPLAY
  101.         *Command: CmdSelect
  102.         {
  103.             *Order: DOC_SETUP.10
  104.             *NoPageEject?: TRUE
  105.             *Cmd: "<1B>&l0O"
  106.         }
  107.     }
  108.     *Option: LANDSCAPE_CC90
  109.     {
  110.         *rcNameID: =LANDSCAPE_DISPLAY
  111.         *Command: CmdSelect
  112.         {
  113.             *Order: DOC_SETUP.10
  114.             *NoPageEject?: TRUE
  115.             *Cmd: "<1B>&l1O"
  116.         }
  117.     }
  118. }
  119.  
  120.  
  121. *%**************************************************************************
  122. *%      Print Quality: Custom Feature
  123. *%**************************************************************************
  124.  
  125. *Feature: PQ
  126. {
  127.     *rcNameID: =PRINT_QUALITY_DISPLAY
  128.     *ConflictPriority: 50
  129.     *FeatureType: DOC_PROPERTY
  130.     *UpdateQualityMacro?: TRUE
  131.       
  132.     *Option: Normal
  133.     {
  134.       *rcNameID: =NORMAL_DISPLAY 
  135.     *Command: CmdSelect
  136.         {
  137.             *Order: JOB_SETUP.60
  138.             *Cmd: "<1B>*o0M"
  139.         }
  140.     }
  141.     *Option: Best
  142.     {
  143.         *rcNameID: =BEST_DISPLAY 
  144.         *Command: CmdSelect
  145.         {
  146.             *Order: JOB_SETUP.60
  147.             *Cmd: "<1B>*o1M"
  148.         }
  149.     }
  150.     *Option: Econo
  151.     {
  152.         *rcNameID: =FAST_DISPLAY
  153.         *Command: CmdSelect
  154.         {
  155.             *Order: JOB_SETUP.60
  156.             *Cmd: "<1B>*o-1M"
  157.         }
  158.     }
  159. }
  160.  
  161.  
  162. *%*********************************************************************
  163. *%      Paper Source
  164. *%*********************************************************************
  165. *Feature: InputBin
  166. {
  167.     *rcNameID: =PAPER_SOURCE_DISPLAY
  168.     *DefaultOption: TRAY1
  169.     *FeatureType: DOC_PROPERTY
  170.     
  171.     *Option: TRAY1
  172.     {
  173.         *rcNameID: =TRAY1_DISPLAY
  174.         *Command: CmdSelect
  175.         {
  176.             *Order: JOB_SETUP.70
  177.             *Cmd: "<1B>&l1H"
  178.         }
  179.     }
  180.     *Option: TRAY2
  181.     {
  182.         *rcNameID: =TRAY2_DISPLAY
  183.         *Command: CmdSelect
  184.         {
  185.             *Order: JOB_SETUP.70
  186.             *Cmd: "<1B>&l4H"
  187.         }
  188.         *Installable?: TRUE
  189.         *rcInstallableFeatureNameID: =TRAY2_DISPLAY
  190.     }
  191.     *Option: TRAY3
  192.     {
  193.         *rcNameID: =TRAY3_DISPLAY
  194.         *Command: CmdSelect
  195.         {
  196.             *Order: JOB_SETUP.70
  197.             *Cmd: "<1B>&l5H"
  198.         }
  199.         *Installable?: TRUE
  200.         *rcInstallableFeatureNameID: =TRAY3_DISPLAY
  201.     }
  202.  
  203.     *Option: MANUAL_FEED
  204.     {
  205.         *rcNameID: =MANUAL_FEED_DISPLAY
  206.         *Command: CmdSelect
  207.         {
  208.             *Order: JOB_SETUP.70
  209.             *Cmd: "<1B>&l2H"
  210.         }
  211.     }
  212.  
  213. }
  214.  
  215.  
  216. *%**************************************************************************
  217. *%      Print Color as Gray: found as the Unidriver standrd feature
  218. *%**************************************************************************
  219. *%*************************************************************************
  220. *%      RET configuration Feature
  221. *%*************************************************************************
  222. *Feature: RET
  223. {
  224.     *rcNameID: =RET_DISPLAY
  225.     *HelpIndex: 12010
  226.     *DefaultOption: Option1
  227.     *Option: Option1
  228.     {
  229.         *rcNameID: =RET_ON_DISPLAY
  230.         *Command: CmdSelect
  231.         {
  232.             *Order: JOB_SETUP.2
  233.             *Cmd: "@PJL SET RET=ON<0A>"
  234.         }
  235.     }
  236.     *Option: Option2
  237.     {
  238.         *rcNameID: =RET_OFF_DISPLAY
  239.         *Command: CmdSelect
  240.         {
  241.             *Order: JOB_SETUP.2
  242.             *Cmd: "@PJL SET RET=OFF<0A>"
  243.         }
  244.     }
  245. }
  246.  
  247. *%********************************************************************
  248. *%      Paper Sizes:
  249. *%********************************************************************
  250. *Feature: PaperSize
  251. {
  252.     *rcNameID: =PAPER_SIZE_DISPLAY
  253.     *HelpIndex: 13022
  254.     *DefaultOption: LETTER
  255.     *Option: LETTER
  256.     {
  257.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  258.         *switch: Orientation
  259.         {
  260.             *case: PORTRAIT
  261.             {
  262.                 *PrintableArea: PAIR(9600,12320)
  263.                 *PrintableOrigin: PAIR(300, 140)
  264.                 *CursorOrigin: PAIR(300, 0)
  265.                 *Command: CmdSelect
  266.                 {
  267.                     *Order: DOC_SETUP.20
  268.                     *Cmd: "<1B>&l2A<1B>&l1l0E<1B>*c0t5760x7560Y"
  269.                 }
  270.             }
  271.  
  272.             *case: LANDSCAPE_CC90
  273.             {
  274.                 *PrintableArea: PAIR(9600, 12320)
  275.                 *PrintableOrigin: PAIR(300, 140)
  276.                 *CursorOrigin: PAIR(0, 12648)
  277.                 *Command: CmdSelect
  278.                 {
  279.                     *Order: DOC_SETUP.20
  280.                     *Cmd: "<1B>&l2A<1B>&l1l0E<1B>*c0t7560x5760Y"
  281.                 }
  282.             }
  283.         }
  284.     }
  285.     
  286.     *Option: TABLOID
  287.     {
  288.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  289.         *switch: Orientation
  290.         {
  291.             *case: PORTRAIT
  292.             {
  293.                 *PrintableArea: PAIR(12576, 19520)
  294.                 *PrintableOrigin: PAIR(312, 140)
  295.                 *CursorOrigin: PAIR(312, 0)
  296.                 *Command: CmdSelect
  297.                 {
  298.                     *Order: DOC_SETUP.20
  299.                     *Cmd: "<1B>&l6A<1B>&l1l0E<1B>*c0t7560x11880Y"
  300.                 }
  301.             }
  302.             *case: LANDSCAPE_CC90
  303.             {
  304.                 *PrintableArea: PAIR(12576, 19520)
  305.                 *PrintableOrigin: PAIR(312, 140)
  306.                 *CursorOrigin: PAIR(0, 19848)
  307.                 *Command: CmdSelect
  308.                 {
  309.                     *Order: DOC_SETUP.20
  310.                     *Cmd: "<1B>&l6A<1B>&l1l0E<1B>*c0t11880x7560Y"
  311.                 }
  312.             }
  313.         }
  314.     }
  315.  
  316.     *Option: LEGAL
  317.     {
  318.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  319.         *switch: Orientation
  320.         {
  321.             *case: PORTRAIT
  322.             {
  323.                 *PrintableArea: PAIR(9600, 15936)
  324.                 *PrintableOrigin: PAIR(300, 140)
  325.                 *CursorOrigin: PAIR(300, 0)
  326.                 *Command: CmdSelect
  327.                 {
  328.                     *Order: DOC_SETUP.20
  329.                     *Cmd: "<1B>&l3A<1B>&l1l0E<1B>*c0t5760x9720Y"
  330.                 }
  331.             }
  332.             *case: LANDSCAPE_CC90
  333.             {
  334.                 *PrintableArea: PAIR(9600, 15936)
  335.                 *PrintableOrigin: PAIR(300, 140)
  336.                 *CursorOrigin: PAIR(0, 16248)
  337.                 *Command: CmdSelect
  338.                 {
  339.                     *Order: DOC_SETUP.20
  340.                     *Cmd: "<1B>&l3A<1B>&l1l0E<1B>*c0t9720x5760Y"
  341.                 }
  342.             }
  343.         }
  344.     }
  345.     *Option: EXECUTIVE
  346.     {
  347.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  348.         *switch: Orientation
  349.         {
  350.  
  351.             *case: PORTRAIT
  352.             {
  353.                 *PrintableArea: PAIR(8096,11712)
  354.                 *PrintableOrigin: PAIR(300, 140)
  355.                 *CursorOrigin: PAIR(300, 0)
  356.                 *Command: CmdSelect
  357.                 {
  358.                     *Order: DOC_SETUP.20
  359.                     *Cmd: "<1B>&l1A<1B>&l1l0E<1B>*c0t4860x7200Y"
  360.                 }
  361.             }
  362.             *case: LANDSCAPE_CC90
  363.             {
  364.                 *PrintableArea: PAIR(8096,11712)
  365.                 *PrintableOrigin: PAIR(300,140)
  366.                 *CursorOrigin: PAIR(0,12048)
  367.                 *Command: CmdSelect
  368.                 {
  369.                     *Order: DOC_SETUP.20
  370.                     *Cmd: "<1B>&l1A<1B>&l1l0E<1B>*c0t7200x4860Y"
  371.                 }
  372.             }
  373.         }
  374.         *InsertBlock: =PaperInputBinConstraints
  375.     }
  376.     *Option: A3
  377.     {
  378.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  379.         *switch: Orientation
  380.         {
  381.             *case: PORTRAIT
  382.             {
  383.                 *PrintableArea: PAIR(13460, 18976)
  384.                 *PrintableOrigin: PAIR(244, 140)
  385.                 *CursorOrigin: PAIR(244, 0)
  386.                 *Command: CmdSelect
  387.                 {
  388.                     *Order: DOC_SETUP.20
  389.                     *Cmd: "<1B>&l27A<1B>&l1l0E<1B>*c0t8416x11544Y"
  390.                 }
  391.             }
  392.             *case: LANDSCAPE_CC90
  393.             {
  394.                 *PrintableArea: PAIR(13460, 18976)
  395.                 *PrintableOrigin: PAIR(244, 140)
  396.                 *CursorOrigin: PAIR(0,19290)
  397.                 *Command: CmdSelect
  398.                 {
  399.                     *Order: DOC_SETUP.20
  400.                     *Cmd: "<1B>&l27A<1B>&l1l0E<1B>*c0t11544x8416Y"
  401.                 }
  402.             }
  403.         }
  404.     }
  405.  
  406.     *Option: A4
  407.     {
  408.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  409.         *switch: Orientation
  410.         {
  411.             *case: PORTRAIT
  412.             {
  413.                 *PrintableArea: PAIR(9600, 13164)
  414.                 *PrintableOrigin: PAIR(160, 140)
  415.                 *CursorOrigin: PAIR(160, 0)
  416.                 *Command: CmdSelect
  417.                 {
  418.                     *Order: DOC_SETUP.20
  419.                     *Cmd: "<1B>&l26A<1B>&l1l0E<1B>*c0t5760x8056Y"
  420.                 }
  421.             }
  422.             *case: LANDSCAPE_CC90
  423.             {
  424.                 *PrintableArea: PAIR(9600, 13164)
  425.                 *PrintableOrigin: PAIR(160, 140)
  426.                 *CursorOrigin: PAIR(0, 13478)
  427.                 *Command: CmdSelect
  428.                 {
  429.                     *Order: DOC_SETUP.20
  430.                     *Cmd: "<1B>&l26A<1B>&l1l0E<1B>*c0t8056x5760Y"
  431.                 }
  432.             }
  433.         }
  434.     }
  435.  
  436.  
  437.     *Option: A5
  438.     {
  439.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  440.         *switch: Orientation
  441.         {
  442.             *case: PORTRAIT
  443.             {
  444.                 *PrintableArea: PAIR(6424, 9056)
  445.                 *PrintableOrigin: PAIR(152, 140)
  446.                 *CursorOrigin: PAIR(152, 0)
  447.                 *Command: CmdSelect
  448.                 {
  449.                     *Order: DOC_SETUP.20
  450.                     *Cmd: "<1B>&l25A<1B>&l1l0E<1B>*c0t4192x5584Y"
  451.                 }
  452.             }
  453.             *case: LANDSCAPE_CC90
  454.             {
  455.                 *PrintableArea: PAIR(6424, 9056)
  456.                 *PrintableOrigin: PAIR(152, 140)
  457.                 *CursorOrigin: PAIR(0, 9368)
  458.                 *Command: CmdSelect
  459.                 {
  460.                     *Order: DOC_SETUP.20
  461.                     *Cmd: "<1B>&l25A<1B>&l1l0E<1B>*c0t5584x4192Y"
  462.                 }
  463.             }
  464.         }
  465.         *InsertBlock: =PaperInputBinConstraints
  466.     }
  467.  
  468.     *Option: B4
  469.     {
  470.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  471.         *switch: Orientation
  472.         {
  473.             *case: PORTRAIT
  474.             {
  475.                 *PrintableArea: PAIR(11572, 16320)
  476.                 *PrintableOrigin: PAIR(244, 140)
  477.                 *CursorOrigin: PAIR(244, 0)
  478.                 *Command: CmdSelect
  479.                 {
  480.                     *Order: DOC_SETUP.20
  481.                     *Cmd: "<1B>&l46A<1B>&l1l0E<1B>*c0t7280x9952Y"
  482.                 }
  483.             }
  484.             *case: LANDSCAPE_CC90
  485.             {
  486.                 *PrintableArea: PAIR(11572, 16320)
  487.                 *PrintableOrigin: PAIR(244, 140)
  488.                 *CursorOrigin: PAIR(0, 16644)
  489.                 *Command: CmdSelect
  490.                 {
  491.                     *Order: DOC_SETUP.20
  492.                     *Cmd: "<1B>&l46A<1B>&l1l0E<1B>*c0t9952x7280Y"
  493.                 }
  494.             }
  495.         }
  496.     }
  497.     
  498.  
  499.     *Option: B5
  500.     {
  501.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  502.         *switch: Orientation
  503.         {
  504.             *case: PORTRAIT
  505.             {
  506.                 *PrintableArea: PAIR(8028, 11264)
  507.                 *PrintableOrigin: PAIR(152, 140)
  508.                 *CursorOrigin: PAIR(152, 0)
  509.                 *Command: CmdSelect
  510.                 {
  511.                     *Order: DOC_SETUP.20
  512.                     *Cmd: "<1B>&l45A<1B>&l1l0E<1B>*c0t4984x6920Y"
  513.                 }
  514.             }
  515.             *case: LANDSCAPE_CC90
  516.             {
  517.                 *PrintableArea: PAIR(8028, 11264)
  518.                 *PrintableOrigin: PAIR(152, 140)
  519.                 *CursorOrigin: PAIR(0,11256)
  520.                 *Command: CmdSelect
  521.                 {
  522.                     *Order: DOC_SETUP.20
  523.                     *Cmd: "<1B>&l45A<1B>&l1l0E<1B>*c0t6920x4984Y"
  524.                 }
  525.             }
  526.         }
  527.         *InsertBlock: =PaperInputBinConstraints
  528.     }
  529.     
  530.     *Option: SUPERB
  531.     {
  532.         *rcNameID: =SUPERB_DISPLAY
  533.         *PageDimensions: PAIR(15600, 22800)
  534.  
  535.         *switch: Orientation
  536.         {
  537.             *case: PORTRAIT
  538.             {
  539.                 *PrintableArea: PAIR(15000, 21920)
  540.                 *PrintableOrigin: PAIR(244, 140)
  541.                 *CursorOrigin: PAIR(244, 0)
  542.                 *Command: CmdSelect
  543.                 {
  544.                     *Order: DOC_SETUP.20
  545.                     *Cmd: "<1B>&l16A<1B>&l1l0E<1B>*c0t9260x13320Y"
  546.                 }
  547.             }
  548.             *case: LANDSCAPE_CC90
  549.             {
  550.                 *PrintableArea: PAIR(15000, 21920)
  551.                 *PrintableOrigin: PAIR(244, 140)
  552.                 *CursorOrigin: PAIR(0, 22248)
  553.                 *Command: CmdSelect 
  554.                 {
  555.                     *Order: DOC_SETUP.20
  556.                     *Cmd: "<1B>&l16A<1B>&l1l0E<1B>*c0t13320x9260Y"
  557.                 }
  558.             }
  559.         }
  560.     }
  561.  
  562.     *Option: INDEX_4x6
  563.     {
  564.         *rcNameID: =US_INDEX_CARD_4X6_DISPLAY
  565.         *PageDimensions: PAIR(4800, 7200)
  566.         *switch: Orientation
  567.         {
  568.             *case: PORTRAIT
  569.             {
  570.                 *PrintableArea: PAIR(4400, 6336)
  571.                 *PrintableOrigin: PAIR(160, 140)
  572.                 *CursorOrigin: PAIR(160, 0)
  573.                 *Command: CmdSelect
  574.                 {
  575.                     *Order: DOC_SETUP.20
  576.                     *Cmd: "<1B>&l74A<1B>&l1l0E<1B>*c0t2880x3960Y"
  577.                 }
  578.             }
  579.             *case: LANDSCAPE_CC90
  580.             {
  581.                 *PrintableArea: PAIR(4400, 6336)
  582.                 *PrintableOrigin: PAIR(160, 140)
  583.                 *CursorOrigin: PAIR(0, 6648)
  584.                 *Command: CmdSelect
  585.                 {
  586.                     *Order: DOC_SETUP.20
  587.                     *Cmd: "<1B>&l74A<1B>&l1l0E<1B>*c0t3960x2880Y"
  588.                 }
  589.             }
  590.         }
  591.         *InsertBlock: =PaperInputBinConstraints
  592.     }
  593.     *Option: INDEX_5x8
  594.     {
  595.         *rcNameID: =US_INDEX_CARD_5X8_DISPLAY
  596.         *PageDimensions: PAIR(6000, 9600)
  597.         *switch: Orientation
  598.         {
  599.             *case: PORTRAIT
  600.             {
  601.                 *PrintableArea: PAIR(5680, 8736)
  602.                 *PrintableOrigin: PAIR(152, 140)
  603.                 *CursorOrigin: PAIR(152, 0)
  604.                 *Command: CmdSelect
  605.                 {
  606.                     *Order: DOC_SETUP.20
  607.                     *Cmd: "<1B>&l75A<1B>&l1l0E<1B>*c0t3600x5400Y"
  608.                 }
  609.             }
  610.             *case: LANDSCAPE_CC90
  611.             {
  612.                 *PrintableArea: PAIR(5680, 8736)
  613.                 *PrintableOrigin: PAIR(152, 140)
  614.                 *CursorOrigin: PAIR(0, 9048)
  615.                 *Command: CmdSelect
  616.                 {
  617.                     *Order: DOC_SETUP.20
  618.                     *Cmd: "<1B>&l75A<1B>&l1l0E<1B>*c0t5400x3600Y"
  619.                 }
  620.             }
  621.         }
  622.         *InsertBlock: =PaperInputBinConstraints
  623.     }
  624.         
  625.  *Option: CUSTOMSIZE
  626.     {
  627.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  628.         *MinSize: PAIR(4800, 6992)
  629.         *MaxSize: PAIR(15600, 20400)
  630.         *TopMargin: 140
  631.         *BottomMargin: 740
  632.         *MaxPrintableWidth: 15120
  633.         *MinLeftMargin: 240
  634.         *CenterPrintable?: FALSE
  635.         *switch: Orientation
  636.         {
  637.             *case: PORTRAIT           
  638.             {
  639.  
  640.                 *CustCursorOriginX:    %d{((PhysPaperWidth - 15600) / 2) + 240}
  641.                 *CustCursorOriginY:    %d{0}
  642.                 *CustPrintableOriginX: %d{240}
  643.                 *CustPrintableOriginY: %d{140}
  644.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 480 }
  645.                 *CustPrintableSizeY:   %d{ PhysPaperLength - 480 }
  646.             *Command: CmdSelect
  647.                 {
  648.                     *Order: DOC_SETUP.20
  649.                     *Cmd: "<1B>&l101A<1B>&l1l0E<1B>c0t%c{PhysPaperWidth}x%c{PhysPaperLength}Y"
  650.                 }
  651.             }
  652.             *case: LANDSCAPE_CC90     
  653.             {
  654.  
  655.                 *CustCursorOriginX:    %d{0}
  656.                 *CustCursorOriginY:    %d{16076}
  657.                 *CustPrintableOriginX: %d{240}
  658.                 *CustPrintableOriginY: %d{340}
  659.                 *CustPrintableSizeX:   %d{PhysPaperWidth - 480}
  660.                 *CustPrintableSizeY:   %d{PhysPaperLength - 480}
  661.                 *Command: CmdSelect
  662.                 {
  663.                     *Order: DOC_SETUP.20
  664.                     *Cmd: "<1B>&l101A<1B>&l1l0E<1B>c0t%c{PhysPaperWidth}x%c{PhysPaperLength}Y"
  665.                 }
  666.             }
  667.         }
  668.     *InsertBlock: =PaperInputBinConstraints
  669.     }
  670. }
  671.  
  672.  
  673. *%**************************************************************************
  674. *%      Media Type
  675. *%**************************************************************************
  676. *Feature: MediaType
  677. {
  678.     *rcNameID: =MEDIA_TYPE_DISPLAY
  679.     *DefaultOption: PLAIN
  680.     *ConflictPriority: 10
  681.     *Option: PLAIN
  682.     {
  683.         *rcNameID: =PLAIN_PAPER_DISPLAY
  684.         *Command: CmdSelect
  685.         {
  686.             *Order: DOC_SETUP.30
  687.             *Cmd: "<1B>&l0M"
  688.         }
  689.     }
  690.     *Option: HP_PREMIUM_INKJET_PAPER
  691.     {
  692.         *rcNameID: =HP_PREMIUM_INKJET_PAPER_DISPLAY
  693.         *Command: CmdSelect
  694.         {
  695.             *Order: DOC_SETUP.30
  696.             *Cmd: "<1B>&l2M"
  697.         }
  698.  
  699.  
  700.     }
  701.     *Option: TRANSPARENCY
  702.     {
  703.         *rcNameID: =HP_PREMIUM_INKJET_TRANSPARENCY_DISPLAY
  704.         *Command: CmdSelect
  705.         {
  706.             *Order: DOC_SETUP.30
  707.             *Cmd: "<1B>&l4M"
  708.         }
  709.  
  710.     }
  711. }
  712.  
  713.  
  714. *%**************************************************************************
  715. *%      Resolution Feature -  300 dpi supported
  716. *%**************************************************************************
  717. *Feature: Resolution
  718. {
  719.     *rcNameID: =RESOLUTION_DISPLAY
  720.     *ConflictPriority: 20
  721.     *UpdateQualityMacro?: TRUE
  722.     
  723.     *DefaultOption: r300x300
  724.  
  725.     *Option: r300x300
  726.     {
  727.         *rcNameID: =DPI_300_DISPLAY
  728.         *DPI: PAIR(300, 300)
  729.         *TextDPI: PAIR(300, 300)
  730.         *MinStripBlankPixels: 32
  731.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  732.         *SpotDiameter: 100
  733.         *Command: CmdBeginRaster   { *Cmd : "<1B>*v7S<1B>*r1A" }
  734.         *Command: CmdEndRaster     { *Cmd : "<1B>*rC" }
  735.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  736.         *Command: CmdSelect
  737.         {
  738.             *Order: JOB_SETUP.30
  739.             *Cmd:   "@PJL SET RESOLUTION=300<0D0A>"
  740. +                   "@PJL ENTER LANGUAGE=PCL<0D0A>"
  741. +                   "<1B>*l1R<1B>E<1B>*t300R"
  742.         }
  743.     }
  744. }
  745.  
  746.  
  747. *%*************************************************************************
  748. *%    Memory
  749. *%*************************************************************************
  750. *Feature: Memory
  751. {
  752.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  753.     *DefaultOption: MB4
  754.     *Option: MB4
  755.     {
  756.         *Name: "4 MB"
  757.         *MemoryConfigMB: PAIR(4, 2)
  758.     }
  759.     *Option: MB76
  760.     {
  761.         *Name: "76 MB"
  762.         *MemoryConfigMB: PAIR(76, 74)
  763.     }
  764.  
  765. }
  766.  
  767.  
  768. *%*************************************************************************
  769. *%    Duplexing : Unidriver does not support manual duplexing 
  770. *%*************************************************************************
  771.  
  772.  
  773. *%*****************************************************************************
  774. *%    Color Mode Commands
  775. *%*****************************************************************************
  776. *ChangeColorModeOnDoc?: FALSE
  777. *Feature: ColorMode
  778. {
  779.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  780.     *ConflictPriority: 30
  781.     *HelpIndex: 12024
  782.     *UpdateQualityMacro?: TRUE
  783.  
  784.     *DefaultOption: 24bpp
  785.     *Option: Mono
  786.     {
  787.         *rcNameID: =MONO_DISPLAY
  788.         *DevNumOfPlanes: 1
  789.         *DevBPP: 1
  790.         *Color? : FALSE
  791.         *Command: CmdSelect
  792.         {
  793.             *Order: PAGE_SETUP.10
  794.             *Cmd: "<1B>&b1M<1B>*v1N<1B>*v1O"
  795.         }
  796.     }
  797.     *Option: 24bpp
  798.     {
  799.         *rcNameID: =24BPP_DISPLAY
  800.         *DevNumOfPlanes: 1
  801.         *DevBPP: 24
  802.         *DrvBPP: 24
  803.         *PaletteSize: 256
  804.         *PaletteProgrammable? : TRUE
  805.         *Command: CmdDefinePaletteEntry
  806.         {
  807.             *Cmd : "<1B>*v" %d{RedValue}"a"
  808. +                            %d{GreenValue}"b"
  809. +                            %d{BlueValue}"c"
  810. +                            %d{PaletteIndexToProgram}"I"
  811.         }
  812.         *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
  813.         *Command: CmdSetSrcBmpWidth { *Cmd : "<1B>*r" %d{RasterDataWidthInBytes / 3}"S" }
  814.         *Command: CmdSelect
  815.         {
  816.             *Order: PAGE_SETUP.10
  817.             *Cmd: "<1B>*v1N<1B>*v1O<1B>*l184O<1B>*v6W<000308080808><1B>*v0a0b0c7i255a255b255c0I<1B>*o3W<060406>"
  818.         }
  819.     }
  820. }
  821.  
  822.  
  823. *%************************************************
  824. *%    Doc setup commands 
  825. *%************************************************
  826. *%************************************************
  827. *%    Custom Features (leveraged from 4500)
  828. *%************************************************
  829.  
  830. *Feature: HPPrinterCode
  831. {
  832.     *Name: "HPPrinterCode"
  833.     *ConcealFromUI?: TRUE
  834.     *FeatureType: DOC_PROPERTY
  835.     *DefaultOption: HPWM525P
  836.  
  837.     *Option: HPWM525P
  838.     {
  839.         *Name: "HP 2500C Series PCL5Ce"
  840.     }
  841. }
  842.  
  843.  
  844. *Feature: HPColorMode
  845. {
  846.     *Name: "HPColorMode"
  847.     *ConcealFromUI?: TRUE
  848.     *FeatureType: DOC_PROPERTY
  849.     *DefaultOption: COLOR_MODE
  850.  
  851.     *Option: COLOR_MODE
  852.     {
  853.         *Name: "Color Mode"
  854.     }
  855. }
  856.  
  857. *Feature: HPResolution
  858. {
  859.     *Name: "HPResolution"
  860.     *ConcealFromUI?: TRUE
  861.     *FeatureType: DOC_PROPERTY
  862.     *DefaultOption: PDM_300DPI
  863.     *Option: PDM_300DPI
  864.     {
  865.         *Name: "300x300"
  866.     }
  867. }
  868.  
  869.  
  870. *Feature: HPTextColor
  871. {
  872.     *Name: "HPTextColor"
  873.     *ConcealFromUI?: TRUE
  874.     *FeatureType: DOC_PROPERTY
  875.     *DefaultOption: SCRNMATCH
  876.  
  877.     *Option: SCRNMATCH
  878.     {
  879.         *Name: "Screen Match"
  880.     }
  881. }
  882.  
  883.  
  884. *Feature: HPPhotoColor
  885. {
  886.     *Name: "HPPhotoColor"
  887.     *ConcealFromUI?: TRUE
  888.     *FeatureType: DOC_PROPERTY
  889.     *DefaultOption: SCRNMATCH
  890.  
  891.     *Option: SCRNMATCH
  892.     {
  893.         *Name: "Screen Match"
  894.     }
  895. }
  896.  
  897. *Feature: HPGraphicsColor
  898. {
  899.     *Name: "HPGraphicsColor"
  900.     *ConcealFromUI?: TRUE
  901.     *FeatureType: DOC_PROPERTY
  902.     *DefaultOption: SCRNMATCH
  903.  
  904.     *Option: SCRNMATCH
  905.     {
  906.         *Name: "Screen Match"
  907.     }
  908. }
  909.  
  910. *Feature: HPTextHalftone
  911. {
  912.     *Name: "HPTextHalftone"
  913.     *ConcealFromUI?: TRUE
  914.     *FeatureType: DOC_PROPERTY
  915.     *DefaultOption: TEXT_DETAIL
  916.  
  917.     *Option: TEXT_DETAIL
  918.     {
  919.         *Name: "Text Detail"
  920.     }
  921.  
  922. }
  923.  
  924. *Feature: HPPhotoHalftone
  925. {
  926.     *Name: "HPPhotoHalftone"
  927.     *ConcealFromUI?: TRUE
  928.     *FeatureType: DOC_PROPERTY
  929.     *DefaultOption: GRAPHICS_SMOOTH
  930.  
  931.     *Option: GRAPHICS_SMOOTH
  932.     {
  933.         *Name: "Graphics Smooth"
  934.     }
  935.  
  936. }
  937.  
  938. *Feature: HPGraphicsHalftone
  939. {
  940.     *Name: "HPGraphicsHalftone"
  941.     *ConcealFromUI?: TRUE
  942.     *FeatureType: DOC_PROPERTY
  943.     *DefaultOption: GRAPHICS_SMOOTH
  944.  
  945.     *Option: GRAPHICS_SMOOTH
  946.     {
  947.         *Name: "Graphics Smooth"
  948.     }
  949.  
  950. }
  951.  
  952.  
  953. *Feature: HPGraphicsMode
  954. {
  955.     *Name: "HPGraphicsMode"
  956.     *ConcealFromUI?: TRUE
  957.     *FeatureType: DOC_PROPERTY
  958.     *DefaultOption: RASTER
  959.  
  960.     *Option: RASTER
  961.     {
  962.         *Name: "RASTER"
  963.     }
  964. }
  965.  
  966.  
  967. *%***********************************************************
  968. *%    Printer Specific Feature Data - Printer Model Name
  969. *%***********************************************************
  970. *Feature: HPPrinterModelName
  971. {
  972.     *Name: "HPPrinterModelName"
  973.     *ConcealFromUI?:TRUE
  974.     *FeatureType: DOC_PROPERTY
  975.     *DefaultOption: HP_2500C_Series_PCL5Ce
  976.     *Option: HP_2500C_Series_PCL5Ce
  977.     {
  978.         *Name: "HP 2500C Series PCL5Ce"
  979.     }
  980. }
  981.  
  982.  
  983.  
  984. *%***********************************************************
  985. *%     Print Quality Macros
  986. *%***********************************************************
  987.  
  988. *switch: MediaType
  989. {
  990.     *case: PLAIN
  991.     {
  992.         *switch: ColorMode
  993.         {
  994.             *case: Mono
  995.             {
  996.                 *DraftQualitySettings:  LIST(ColorMode.Mono, PQ.Econo,  Resolution.r300x300)
  997.                 *BetterQualitySettings: LIST(ColorMode.Mono, PQ.Normal, Resolution.r300x300)
  998.                 *BestQualitySettings:   LIST(ColorMode.Mono, PQ.Best,   Resolution.r300x300)
  999.                 *DefaultQuality: BETTERQUALITY
  1000.             }
  1001.             *default:
  1002.             {
  1003.                 *DraftQualitySettings:  LIST(ColorMode.24bpp, PQ.Econo,  Resolution.r300x300)
  1004.                 *BetterQualitySettings: LIST(ColorMode.24bpp, PQ.Normal, Resolution.r300x300)
  1005.                 *BestQualitySettings:   LIST(ColorMode.24bpp, PQ.Best,   Resolution.r300x300)
  1006.                 *DefaultQuality: BETTERQUALITY
  1007.             }
  1008.         }
  1009.     }
  1010.     *case: TRANSPARENCY
  1011.     {
  1012.         *switch: ColorMode
  1013.         {
  1014.             *case: Mono
  1015.             {
  1016.                 *DraftQualitySettings:  LIST(ColorMode.Mono, PQ.Econo,  Resolution.r300x300)
  1017.                 *BetterQualitySettings: LIST(ColorMode.Mono, PQ.Normal, Resolution.r300x300)
  1018.                 *BestQualitySettings:   LIST(ColorMode.Mono, PQ.Best,   Resolution.r300x300)
  1019.                 *DefaultQuality: BETTERQUALITY
  1020.             }
  1021.             *default:
  1022.             {
  1023.                 *DraftQualitySettings:  LIST(ColorMode.24bpp, PQ.Econo,  Resolution.r300x300)
  1024.                 *BetterQualitySettings: LIST(ColorMode.24bpp, PQ.Normal, Resolution.r300x300)
  1025.                 *BestQualitySettings:   LIST(ColorMode.24bpp, PQ.Best,   Resolution.r300x300)
  1026.                 *DefaultQuality: BETTERQUALITY
  1027.             }
  1028.         }
  1029.     }
  1030.     *case: HP_PREMIUM_INKJET_PAPER
  1031.     {
  1032.         *switch: ColorMode
  1033.         {
  1034.             *case: Mono
  1035.             {
  1036.                 *DraftQualitySettings:  LIST()
  1037.                 *BetterQualitySettings: LIST(ColorMode.Mono, PQ.Normal, Resolution.r300x300)
  1038.                 *BestQualitySettings:   LIST(ColorMode.Mono, PQ.Best,   Resolution.r300x300)
  1039.                 *DefaultQuality: BESTQUALITY
  1040.             }
  1041.             *default:
  1042.             {
  1043.                 *DraftQualitySettings:  LIST()
  1044.                 *BetterQualitySettings: LIST(ColorMode.24bpp, PQ.Normal, Resolution.r300x300)
  1045.                 *BestQualitySettings:   LIST(ColorMode.24bpp, PQ.Best,   Resolution.r300x300)
  1046.                 *DefaultQuality: BESTQUALITY
  1047.             }
  1048.         }
  1049.     }
  1050. }
  1051.  
  1052. *%*******************************
  1053. *%    Doc setup commands
  1054. *%*******************************
  1055.  
  1056. *Command: CmdStartDoc
  1057. {
  1058.     *Order: DOC_SETUP.5
  1059.     *Cmd: "<1B>&u600D<1B>*r0F"
  1060. }
  1061.  
  1062. *Command: CmdStartJob
  1063. {
  1064.     *Order: JOB_SETUP.10
  1065.     *Cmd: "<1B>%%-12345X"
  1066. }
  1067.  
  1068. *Command: CmdEndJob
  1069. {
  1070.     *Order: JOB_FINISH.1
  1071.     *Cmd: "<1B>E<1B>%%-12345X"
  1072. }
  1073. *Command: CmdCopies
  1074. {
  1075.     *Order: DOC_SETUP.5
  1076.     *Cmd: "<1B>&l" %d{NumOfCopies}"X"
  1077. }
  1078.  
  1079.  
  1080. *%*************************************************************************
  1081. *%      Cursor and Page Control
  1082. *%*************************************************************************
  1083. *RotateCoordinate?: TRUE
  1084. *RotateRaster?: TRUE
  1085. *RotateFont?: TRUE
  1086. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1087. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  1088. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1089. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1090. *XMoveThreshold: 0
  1091. *YMoveThreshold: 0
  1092.  
  1093. *XMoveUnit: 600
  1094. *YMoveUnit: 600
  1095. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  1096. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1097. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1098. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  1099. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,12600]{max_repeat((DestYRel / 2) )}"Y" }
  1100. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,12600]{max_repeat((DestYRel / 2) )}"Y" }
  1101.  
  1102.  
  1103.  
  1104. *%**********************************************
  1105. *%    These 3 commands are required.
  1106. *%**********************************************
  1107. *Command: CmdCR { *Cmd : "<0D>" }    *% Carraige Return
  1108. *Command: CmdLF { *Cmd : "<0A>" }    *% Line Feed
  1109. *Command: CmdFF { *Cmd : "<0C>" }    *% Form Feed -- Used also to eject a page.
  1110.  
  1111. *Command: CmdBackSpace { *Cmd : "<08>" }
  1112. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1113. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1114. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1115. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1116. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1117. *EjectPageWithFF?: TRUE
  1118.  
  1119.  
  1120.  
  1121. *%*************************************************************************
  1122. *%      Compression Methods supported
  1123. *%*************************************************************************
  1124. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1125. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1126. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1127.  
  1128. *OutputDataFormat: H_BYTE
  1129. *OptimizeLeftBound?: TRUE
  1130.  
  1131.  
  1132.  
  1133. *%*************************************************************************
  1134. *%      Raster control
  1135. *%*************************************************************************
  1136. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1137. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1138.  
  1139.  
  1140.  
  1141. *%*************************************************************************
  1142. *%      Font Control
  1143. *%*************************************************************************
  1144. *DefaultFont: RESDLL.FontRes.3
  1145. *DefaultCTT: 0
  1146. *CharPosition: BASELINE
  1147. *TTFSEnabled?: TRUE
  1148. *DeviceFonts: LIST(RESDLL.FontRes.1,RESDLL.FontRes.2,RESDLL.FontRes.3,RESDLL.FontRes.4,RESDLL.FontRes.5,
  1149. +                  RESDLL.FontRes.6,RESDLL.FontRes.7,RESDLL.FontRes.8,RESDLL.FontRes.9,RESDLL.FontRes.10,
  1150. +                  RESDLL.FontRes.11,RESDLL.FontRes.12,RESDLL.FontRes.13,RESDLL.FontRes.14,RESDLL.FontRes.15,
  1151. +                  RESDLL.FontRes.16,RESDLL.FontRes.17,RESDLL.FontRes.18,RESDLL.FontRes.19,RESDLL.FontRes.20,
  1152. +                  RESDLL.FontRes.21,RESDLL.FontRes.22,RESDLL.FontRes.23,RESDLL.FontRes.24,RESDLL.FontRes.25,
  1153. +                  RESDLL.FontRes.26,RESDLL.FontRes.27,RESDLL.FontRes.28,RESDLL.FontRes.29,RESDLL.FontRes.30,
  1154. +                  RESDLL.FontRes.31,RESDLL.FontRes.32,RESDLL.FontRes.33,RESDLL.FontRes.34,RESDLL.FontRes.35,
  1155. +                  RESDLL.FontRes.36,RESDLL.FontRes.37,RESDLL.FontRes.38,RESDLL.FontRes.39,RESDLL.FontRes.40,
  1156. +                  RESDLL.FontRes.41,RESDLL.FontRes.42,RESDLL.FontRes.43,RESDLL.FontRes.44,RESDLL.FontRes.45,
  1157. +                  RESDLL.FontRes.46,RESDLL.FontRes.47,RESDLL.FontRes.49,RESDLL.FontRes.50,
  1158. +                  RESDLL.FontRes.51,RESDLL.FontRes.52,RESDLL.FontRes.53,RESDLL.FontRes.54,RESDLL.FontRes.55,
  1159. +                  RESDLL.FontRes.56,RESDLL.FontRes.57,RESDLL.FontRes.59,RESDLL.FontRes.60,
  1160. +                  RESDLL.FontRes.61,RESDLL.FontRes.62,RESDLL.FontRes.63,RESDLL.FontRes.64,RESDLL.FontRes.65,
  1161. +                  RESDLL.FontRes.66,RESDLL.FontRes.67,RESDLL.FontRes.68,RESDLL.FontRes.69,RESDLL.FontRes.70,
  1162. +                  RESDLL.FontRes.71,RESDLL.FontRes.72,RESDLL.FontRes.73,RESDLL.FontRes.74,
  1163. +                  RESDLL.FontRes.76, RESDLL.FontRes.77,RESDLL.FontRes.78,RESDLL.FontRes.79)
  1164.  
  1165. *MinFontID: 16534
  1166. *MaxFontID: 32768
  1167. *FontFormat: HPPCL_RES
  1168. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1169. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1170. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1171. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1172. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1173. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  1174. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  1175. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>&t0P" }
  1176. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>&t21P" }
  1177.  
  1178.  
  1179. *%*************************************************************************
  1180. *%      Imaging Commands
  1181. *%*************************************************************************
  1182.  
  1183.  
  1184.  
  1185. *%*************************************************************************
  1186. *%      Color Palette commands
  1187. *%*************************************************************************
  1188. *Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a"
  1189. +                                                  %d{GreenValue}"b"
  1190. +                                                  %d{BlueValue}"c"
  1191. +                                                  %d{PaletteIndexToProgram}"I" }
  1192.  
  1193. *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
  1194.  
  1195. *Command: CmdDownloadPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*c" %d{PatternBrushSize}"W" }
  1196. *Command: CmdSelectPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*v" %d{PatternBrushType}"T" }
  1197. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  1198. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  1199.  
  1200. *%*************************************************************************
  1201. *%*        Vector Commands.
  1202. *%*************************************************************************
  1203. *MinGrayFill: 1
  1204. *MaxGrayFill: 100
  1205. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize / 2}"A" }
  1206. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize / 2}"B" }
  1207. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  1208. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1209. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  1210.  
  1211.  
  1212.